package com.github.shiqiyue.blog.markdown.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

import com.github.shiqiyue.blog.markdown.config.druid.DruidConfig;
import com.github.shiqiyue.blog.markdown.config.redis.RedisConfig;
import com.github.shiqiyue.blog.markdown.config.session.SessionConfig;

/****
 * 应用程序配置
 * 
 * @author wwy
 *
 */
@ConfigurationProperties(prefix = "application")
public class ApplicationConfig {
	
	private RedisConfig redis;
	
	private DruidConfig druid;
	
	private SessionConfig session;
	
	public RedisConfig getRedis() {
		return redis;
	}
	
	public void setRedis(RedisConfig redis) {
		this.redis = redis;
	}
	
	public DruidConfig getDruid() {
		return druid;
	}
	
	public void setDruid(DruidConfig druid) {
		this.druid = druid;
	}

	public SessionConfig getSession() {
		return session;
	}

	public void setSession(SessionConfig session) {
		this.session = session;
	}
	
}
